package xyz.hubery.mappers;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import xyz.hubery.domain.Account;
import xyz.hubery.vo.AccountVo;

import java.util.List;

@Mapper(componentModel = "spring")
public interface AccountMappers {

    AccountMappers INTSANCE = Mappers.getMapper(AccountMappers.class);


    AccountVo toAccountVo(Account account);

    List<AccountVo> toAccountVo(List<Account> account);
}
